
    <div class="tag round2" id="{id}" tag="{name}">
      <span
      onclick="select(this.parentNode);"
      ondblclick="$(this.parentNode).hide();" >
      {name}
      </span>
      <a href="javascript:void(0);" onclick="swtch(this.parentNode);">{{left}&rarr;}{{!left}&larr;}</a>
      <span class="x" onclick="tagdel({id});">X</span>
    </div>